/**********************************
 ***	Imports
 **********************************/
package fr.montreuil.wargame.domain;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;

/**********************************
 *** 	@jgay
 *** 	@9 mai 2012
 **********************************/
public class UserForm {
	@NotEmpty
	@Size(min=5, max=20)
	private String name;
		 
	@NotEmpty
	@Email
	private String email;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
}
